#ifndef __CONSOLE_H__
#define __CONSOLE_H__

/*
 * This is the function called by printf to send its output to the screen. You
 * have to implement it in the kernel and in the user program.
 */
extern short *ptr_mem(int lig, int col);
extern void console_putbytes(const char *s, int len);
extern void defilement(void);
extern void ecrit_car(int lig, int col, char c);
extern void efface_ecran(void);
extern void place_curseur(int lig, int col);
extern void traite_car(char c);

#endif
